package com.ht.service.aduit.impl;

import com.ht.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.dao.aduit.AssessMapper;
import com.ht.bean.aduit.Assess;
import com.ht.service.aduit.AssessService;

import java.util.List;
import java.util.Map;

/**
 * @author 王金宝
 * @date 2020/6/24 8:34
 * 
 */
@Service
public class AssessServiceImpl implements AssessService{

    @Resource
    private AssessMapper assessMapper;

    @Override
    public int getTotalRow() {
        return assessMapper.getTotalRow();
    }

    @Override
    public List<Map> allPageAssess(Pager pager) {
        return assessMapper.allPageAssess(pager);
    }

    @Override
    public Assess selAssessByEmpid(Integer empid) {
        return assessMapper.selAssessByEmpid(empid);
    }

    @Override
    public int deleteByPrimaryKey(Integer assessid) {
        return assessMapper.deleteByPrimaryKey(assessid);
    }

    @Override
    public int insert(Assess record) {
        return assessMapper.insert(record);
    }

    @Override
    public int insertSelective(Assess record) {
        return assessMapper.insertSelective(record);
    }

    @Override
    public Assess selectByPrimaryKey(Integer assessid) {
        return assessMapper.selectByPrimaryKey(assessid);
    }

    @Override
    public int updateByPrimaryKeySelective(Assess record) {
        return assessMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Assess record) {
        return assessMapper.updateByPrimaryKey(record);
    }

}
